Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix margin and padding issues with CatalogTree table #19950

Merged
merged 2 commits into from
Dec 1, 2022

Conversation

edmundito
Copy link
Contributor

@edmundito edmundito commented Nov 30, 2022

What

Resolves #19874
Closes #19924

Fixes many issues with the margin and padding in the CatalogTree table:

  • Fixes the field table left margin not quite aligning with the row
  • Fixes the bottom margin of the field table
  • Fixes padding issues around the table and simplifies check between old table and new table

Before:
image

Problem areas:
fixes

After:

image

How

This approach favors the parent pushing the content inward with padding over the content making margin for themselves.
There is a hotfix for specific situation that was too convoluted to fix. Noted in comments.

Update to use padding over the margin
Fix fields table offset left margin
Fix fields table padding and bottom margin
@edmundito edmundito requested a review from a team as a code owner November 30, 2022 22:02
@octavia-squidington-iv octavia-squidington-iv added area/platform issues related to the platform area/frontend Related to the Airbyte webapp labels Nov 30, 2022
Copy link
Contributor

@krishnaglick krishnaglick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good. Would like to test locally before approval.

Copy link
Contributor

@josephkmh josephkmh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me - tested locally and did not see any issues ✨

@krishnaglick
Copy link
Contributor

Build failing on snapshot changes. Maybe test should be its own runner?

@edmundito edmundito merged commit 31c7109 into master Dec 1, 2022
@edmundito edmundito deleted the edmundito/fix-catalogtree-table-spacing branch December 1, 2022 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend Related to the Airbyte webapp area/platform issues related to the platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Connection streams vertical and right margin do not align with other cards
4 participants